Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # HAL addition to only allow the Laser to fire when the M3 command is issued
- # AND the rotary axis (B) is moving
- loadrt comp count=1
- setp comp.0.in0 0.1
- net moving comp.0.in1 => motion.current-vel
- addf comp.0 servo-thread
- loadrt and2 count=1
- addf and2.0 servo-thread
- net atspeed and2.0.in0 => comp.0.out
- net mcode and2.0.in1 => motion.spindle-on
- net goodtogo parport.0.pin-17-out <= and2.0.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement